﻿using RaptorEngine;
using RaptorEngine.Components.Drawable;

namespace OilRigSumoWrestlers.Entities.MenuItems
{
    public class ExitGameItem : MenuItem
    {
        public ExitGameItem(DrawableText selectedText, DrawableText deselectedText)
            : base(selectedText, deselectedText)
        {
        }

        public override void Execute()
        {
            GameEngine.Instance.Exit();
        }
    }
}
